
<!DOCTYPE html PUBLIC"-//W3C//DTD XHTML 1.0 Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="renderer" content="webkit" />
    <meta name="force-rendering" content="webkit" />
    <title>人力社保监管在线</title>
    <link type="text/css" rel="stylesheet" href="css/login.css" />
    <script type="text/javascript" src="js/jquery-1.8.2.min.js"></script>
    <script type="text/javascript" src="js/jquery.md5.js"></script>
    <script type="text/javascript">
$(document).ready(function () {
   var height=$(document).height();
   $('body').css('height',height);
   var mart=height-730;
   mart = mart/2;
   $('.loginBox').css('marginTop',mart);
    
})
function login(){
        var username = $("#username").val().trim();
        var pwd = $("#pwd").val().trim();
        if(username==""){
            alert("用户名不能为空");
            return ;
        }
        if(pwd==""){
            alert("密码不能为空");
            return ;
        }
        if($.md5(pwd)!="e1f0be30028ee3946c5718c21be56224"){
            alert("用户名或密码错误，请重输！");
            return ;
        }else{
          // localStorage.setItem('token','e1f0be30028ee3946c5718c21be56224');
          location.href="/xydjg/?token=e1f0be30028ee3946c5718c21be56224";
        }
    }
</script>
  </head>

  <body>
    <h1 style="color: aliceblue;text-align: center;padding-top: 90px;font-size:60px;letter-spacing:10px;">人力社保监管在线</h1>
    <div class="loginBox">
      <h1>欢迎登陆</h1>
      <br>
      <div class="item">
        <div class="icon"><img src="images/icon1.png" /></div>
        <div class="txt"><input name="username" id="username" type="text"
            placeholder="请输入用户名" /></div>
      </div>
      <br>
      <div class="item">
        <div class="icon"><img src="images/icon2.png" /></div>
        <div class="txt"><input name="pwd" id="pwd" type="password"
            placeholder="请输入密码" /></div>
      </div>
      <div class="item_3" style="padding-top: 15px;">
        <input name="" type="button" value="安全登录" class="btn" onclick="login()"
          />
      </div>
    </div>
  </body>
</html>
